package com.mybatis.mapper;

import com.mybatis.entity.Role;
import java.util.List;

/**
 * @author qinjiasheng
 */
public interface RoleMapper {
	public int insertRole(Role role);

	public int deleteRole(long id);

	public int updateRole(Role role);

	public Role getRole(Long id);

	public List<Role> findRoles(String roleName);
}
